# 方法1
number = input(":")
i = 0

while True:
    if i**3 == float(number):
        print(int(i))
        break
    i += 1

# 方法2
import math
def func(n):
    result = math.pow(n, 1/3)
    return int(result)

print(func(22))